<%@ page import="user.entity.User" %>
<%@ page import="jakarta.servlet.http.HttpSession" %><%--
  Created by IntelliJ IDEA.
  User: Damon
  Date: 2021/4/25
  Time: 13:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>管理员界面完整信息列表</title>
</head>
<body>
</body>
<%
    HttpSession httpSession= request.getSession();
    User user= (User) httpSession.getAttribute("user");%>
<form  method="post">
    <div id="box" style="height:300px;width:400px;margin: auto;text-align: center">
        <h2>信息列表</h2>
        学号:<input type="text" name="uNum" value="<%=user.getNum() %>" /><br/>
        姓名:<input type="text" name="uName" value="<%=user.getName() %>"/><br/>
        性别:<input type="text" name="uSex" value="<%=user.getSex() %>"/><br/>
        年级:<input type="text" name="uGrade" value="<%=user.getGrade() %>"/><br/>
        专业:<input type="text" name="uMajor" value="<%=user.getMajor() %>"/><br/>
        电话:<input type="text" name="uNumber" value="<%=user.getNumber() %>"/><br/>
        方向:<input type="text" name="uDirection" value="<%=user.getDirection() %>"/><br/>
        技能:<textarea cols="20" rows="5">
            <%=user.getSkill() %>
            </textarea><br/>

        自我介绍:<textarea cols="20" rows="5">
            <%=user.getSelf() %>
            </textarea><br/>
        密码：<input type="password" name="uPwd" value="<%=user.getPassword() %>"/><br/>
        <a href="queryAllServlet">返回主页</a>
    </div>
</form>

  </body>
</html>
